Juniper-SDX-TC-MIB DEFINITIONS ::= BEGIN

IMPORTS

    MODULE-IDENTITY,
    Integer32
        FROM SNMPv2-SMI

    juniSdxMibs
        FROM Juniper-SDX-MIBS

    TEXTUAL-CONVENTION
        FROM SNMPv2-TC;

juniSdxTc MODULE-IDENTITY
    LAST-UPDATED "200708201100Z"  -- 20-Aug-07

    ORGANIZATION "Juniper Networks, Inc."
    CONTACT-INFO
        "        Juniper Technical Assistance Center
                 Juniper Networks, Inc.
                 1194 N. Mathilda Avenue
                 Sunnyvale, CA 94089
                 E-mail: support@juniper.net"

    DESCRIPTION
        "Textual Conventions the UMC System Management Agent."
        
    REVISION "200708201100Z"  -- 20-Aug-07
    DESCRIPTION
    "Added jdb statistic trap "
        
    REVISION "200708141200Z"  -- 14-Aug-07
    DESCRIPTION
    "Added diskUsage traps"
    
    REVISION "200605051100Z"  -- 05-May-06
    DESCRIPTION
    "Obsolete original componentUp/Down traps and
     add new ones to support SDX appliance"

  
    REVISION "200510131530Z" -- 13-Oct-05
    DESCRIPTION
        "Added proxy router type"

    REVISION "200308111100Z"  -- 11-Aug-03
    DESCRIPTION
    "Minor Syntax updates."

    REVISION "200306191000Z"  -- 14-June-03
    DESCRIPTION 
    "Updated comments for TC enterprise types"

    REVISION "200303201000Z"  -- 20-Mar-03
    DESCRIPTION
    "Removing all Gw traps except NicHost"

    REVISION "200210251600Z"  -- 25-Oct-02
    DESCRIPTION
    "Revision info updated."

    ::= { juniSdxMibs 1 }

-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Common
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

JuniSdxPollingInterval ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The number of seconds past between resource polls.
     The value of 0 means polling is disabled."
    SYNTAX Integer32(0..3600)

JuniSdxTrapID ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The ID of the trap. Each trapID maps to a specific enterprise trap type
     (listed below) which are defined in this MIB under 'juniSdxTrap'
     Note: When adding new traps update this description clause

     ID                                   ENTERPRISE-TYPE

     saeHeapUsed(1),                      Performance-Trap
     saeLogins(2),                        Performance-Trap
     saeLogouts(3),                       Performance-Trap
     saeServiceActivations(4),            Performance-Trap
     saeServiceDeactivations(5),          Performance-Trap
     saeCurrentUsers(6),                  Performance-Trap
     saeUserNumberLicense(7)              Performance-Trap
     saeUserLicenseExpiry(8)              Performance-Trap
     saeLicenseNetworkCapacity(9)         Obsolete
     saeServiceLicense(10),               Obsolete
     saeServiceSessionLicense(11),        Event-Trap
     saeClientLicExpiry(12),              Performance-Trap
     -- space left for growth
     saeAccInvalidServerAddresses(20),    Performance-Trap
     saeAccRoundTripTime(21),             Performance-Trap
     saeAccRetransmissions(22),           Performance-Trap
     saeAccMalformedResponses(23),        Performance-Trap
     saeAccBadAuthenticators(24),         Performance-Trap
     saeAccPendingRequests(25),           Performance-Trap
     saeAccTimeouts(26),                  Performance-Trap
     saeAccUnknownTypes(27),              Performance-Trap
     saeAccPacketsDropped(28),            Performance-Trap
     -- space left for growth
     saeAuthInvalidServerAddresses(40),   Performance-Trap
     saeAuthRoundTripTime(41),            Performance-Trap
     saeAuthAccessRetransmissions(42),    Performance-Trap
     saeAuthMalformedAccessResponses(43), Performance-Trap
     saeAuthBadAuthenticators(44),        Performance-Trap
     saeAuthPendingRequests(45),          Performance-Trap
     saeAuthTimeouts(46),                 Performance-Trap
     saeAuthUnknownTypes(47),             Performance-Trap
     saeAuthPacketsDropped(48),           Performance-Trap
     -- space left for growth
     saeCopsManagedInterfaces(60),        Obsolete
     saeCopsUserSessionEstablished(61),   Obsolete
     saeCopsUserSessionRemoved(62),       Obsolete
     saeCopsErrors(63),                   Obsolete
     saeCopsTimeouts(64),                 Obsolete
     saeCopsAvgREQHandleTime(65),         Obsolete
     saeCopsJobQueueLength(66),           Obsolete
     saeCopsAvgQueueTime(67),             Obsolete
     saeCopsAgeOldestQueueMember(68),     Obsolete
     saeCopsClients(69),                  Obsolete
     saeCopsIgnoredRequests(70),          Obsolete
     saeCopsConnectionClosed(71),         Obsolete
     saeCopsConnectionUp(72),             Obsolete
     saeCopsConnectionDown(73),           Obsolete
     saeCopsConnectionRejected(74),       Obsolete
     saeCopsOverload(75),                 Obsolete
     -- space left for growth
     wkfInstanceFileSize(90),             Performance-Trap
     wkfEventFileSize(91),                Performance-Trap
     wkfReportFileSize(92),               Performance-Trap
     wkfPersistentFileSize(93),           Performance-Trap
     wkfCancelledWorkflows(94),           Performance-Trap
     wkfPendingEvents(95),                Performance-Trap
     wkfActiveWorkflows(96),              Performance-Trap
     wkfRunningWorkflows(97),             Performance-Trap
     -- space left for growth
     agentStarted(110),                   Event-Trap
     agentRestartFailed(111),             Event-Trap
     agentShutdown(112),                  Event-Trap
     agentLdapLimitReached(113),          Performance-Trap
     obsComponentUp(114),                 Obsolete
     obsComponentDown(115),               Obsolete
     componentUp(116),                    Event-Trap
     componentDown(117),                  Event-Trap
     -- space left for growth
     dirConnected(130),                   Event-Trap
     dirConnectionFailure(131),           Event-Trap
     dirNotAvail(132),                    Event-Trap
     -- space left for growth
     penAvgPGModProcTime(150),            Performance-Trap
     penAvgICMModProcTime(151),           Performance-Trap
     pdpErrors(152),                      Performance-Trap
     -- space left for growth
     redirGBLimitReached(170)             Performance-Trap
     -- space left for growth
     routerMsgErrors(190),                Performance-Trap
     routerMsgTimeouts(191),              Performance-Trap
     routerAvgJobQTime(192),              Performance-Trap
     routerJobQLength(193),               Performance-Trap
     routerJobQAge(194),                  Performance-Trap
     routerAvgAddTime(195),               Performance-Trap
     routerAvgChgTime(196),               Performance-Trap
     routerAvgDelTime(197),               Performance-Trap
     routerConnUp(210),                   Event-Trap
     routerConnClosed(211),               Event-Trap
     routerConnDown(212),                 Event-Trap
     routerConnRejected(213),             Event-Trap
     routerConfOutOfSynch(214),           Event-Trap
     -- space left for growth
     nicHostReslvErrors(230),             Performance-Trap
     nicHostAvgReslvTime(231),            Performance-Trap
     nicHostRedundStateSwitched(240),     Event-Trap
     nicHostMisconfigured(241)            Event-Trap
     -- space left for growth
     jpsHeapUsed(250),                    Performance-Trap
     jpsCmtsAvgSyncTime(251),             Performance-Trap
     jpsCmtsAvgDecTime(252),              Performance-Trap
     jpsMsgHdlrProcTime(253),             Performance-Trap
     jpsMsgFlowProcTime(254),             Performance-Trap
     jpsMsgFlowDroppedMsgs(255),          Performance-Trap
     jpsAmConnUp(260),                    Event-Trap
     jpsAmConnDown(261),                  Event-Trap
     jpsCmtsConnUp(262),                  Event-Trap
     jpsCmtsConnDown(263),                Event-Trap  
     -- space left for growth
     acpHeapUsed(280),                    Performance-Trap   
     acpSyncCompleted(290),               Event-Trap
     acpRedundStateSwitched(291),         Event-Trap
     jdbReplicationFailure(292),           Event-Trap
     -- C-Series platform traps
     systemOperatingFailure(300),        Event-Trap
     diskFailure(301)                     Event-Trap
     diskUsage(302)                       Performance-Trap
     "

    SYNTAX INTEGER {saeHeapUsed(1),                      -- Performance-Trap
                    saeLogins(2),                        -- Performance-Trap
                    saeLogouts(3),                       -- Performance-Trap
                    saeServiceActivations(4),            -- Performance-Trap
                    saeServiceDeactivations(5),          -- Performance-Trap
                    saeCurrentUsers(6),                  -- Performance-Trap
                    saeUserNumberLicense(7),             -- Performance-Trap
                    saeUserLicenseExpiry(8),             -- Performance-Trap
                    saeLicenseNetworkCapacity(9),        -- obsolete
                    saeServiceLicense(10),               -- obsolete
                    saeServiceSessionLicense(11),        -- Event-Trap
                    saeClientLicExpiry(12),              -- Performance-Trap
                    -- space left for growth
                    saeAccInvalidServerAddresses(20),    -- Performance-Trap
                    saeAccRoundTripTime(21),             -- Performance-Trap
                    saeAccRetransmissions(22),           -- Performance-Trap
                    saeAccMalformedResponses(23),        -- Performance-Trap
                    saeAccBadAuthenticators(24),         -- Performance-Trap
                    saeAccPendingRequests(25),           -- Performance-Trap
                    saeAccTimeouts(26),                  -- Performance-Trap
                    saeAccUnknownTypes(27),              -- Performance-Trap
                    saeAccPacketsDropped(28),            -- Performance-Trap
                    -- space left for growth
                    saeAuthInvalidServerAddresses(40),   -- Performance-Trap
                    saeAuthRoundTripTime(41),            -- Performance-Trap
                    saeAuthAccessRetransmissions(42),    -- Performance-Trap
                    saeAuthMalformedAccessResponses(43), -- Performance-Trap
                    saeAuthBadAuthenticators(44),        -- Performance-Trap
                    saeAuthPendingRequests(45),          -- Performance-Trap
                    saeAuthTimeouts(46),                 -- Performance-Trap
                    saeAuthUnknownTypes(47),             -- Performance-Trap
                    saeAuthPacketsDropped(48),           -- Performance-Trap
                    -- space left for growth
                    saeCopsManagedInterfaces(60),        -- obsolete
                    saeCopsUserSessionEstablished(61),   -- obsolete
                    saeCopsUserSessionRemoved(62),       -- obsolete
                    saeCopsErrors(63),                   -- obsolete
                    saeCopsTimeouts(64),                 -- obsolete
                    saeCopsAvgREQHandleTime(65),         -- obsolete
                    saeCopsJobQueueLength(66),           -- obsolete
                    saeCopsAvgQueueTime(67),             -- obsolete
                    saeCopsAgeOldestQueueMember(68),     -- obsolete
                    saeCopsClients(69),                  -- obsolete
                    saeCopsIgnoredRequests(70),          -- obsolete
                    saeCopsConnectionClosed(71),         -- obsolete
                    saeCopsConnectionUp(72),             -- obsolete
                    saeCopsConnectionDown(73),           -- obsolete
                    saeCopsConnectionRejected(74),       -- obsolete
                    saeCopsOverload(75),                 -- obsolete
                    -- space left for growth
                    wkfInstanceFileSize(90),             -- Performance-Trap
                    wkfEventFileSize(91),                -- Performance-Trap
                    wkfReportFileSize(92),               -- Performance-Trap
                    wkfPersistentFileSize(93),           -- Performance-Trap
                    wkfCancelledWorkflows(94),           -- Performance-Trap
                    wkfPendingEvents(95),                -- Performance-Trap
                    wkfActiveWorkflows(96),              -- Performance-Trap
                    wkfRunningWorkflows(97),             -- Performance-Trap
                    -- space left for growth
                    agentStarted(110),                   -- agentStarted
                    agentRestartFailed(111),             -- agentRestartFailed
                    agentShutdown(112),                  -- agentShutdown
                    agentLdapLimitReached(113),          -- Performance-Trap 
                    obsComponentUp(114),                 -- Obsolete
                    obsComponentDown(115),               -- Obsolete
                    componentUp(116),                    -- componentUp
                    componentDown(117),                  -- componentDown                    
                    -- space left for growth
                    dirConnected(130),                   -- dirConnected
                    dirConnectionFailure(131),           -- dirConnectionFailure
                    dirNotAvail(132),                    -- dirNotAvail
                    -- space left for growth
                    penAvgPGModProcTime(150),            -- Performance-Trap
                    penAvgICMModProcTime(151),           -- Performance-Trap
                    pdpErrors(152),                      -- Performance-Trap
                    -- space left for growth
                    redirGBLimitReached(170),            -- Performance-Trap
                    -- space left for growth
                    routerMsgErrors(190),                -- Performance-Trap
                    routerMsgTimeouts(191),              -- Performance-Trap
                    routerAvgJobQTime(192),              -- Performance-Trap
                    routerJobQLength(193),               -- Performance-Trap
                    routerJobQAge(194),                  -- Performance-Trap
                    routerAvgAddTime(195),               -- Performance-Trap
                    routerAvgChgTime(196),               -- Performance-Trap
                    routerAvgDelTime(197),               -- Performance-Trap
                    routerConnUp(210),                   -- Event-Trap
                    routerConnClosed(211),               -- Event-Trap
                    routerConnDown(212),                 -- Event-Trap
                    routerConnRejected(213),             -- Event-Trap
                    routerConfOutOfSynch(214),           -- Event-Trap
                    nicHostReslvErrors(230),             -- Performance-Trap
                    nicHostAvgReslvTime(231),            -- Performance-Trap
                    nicHostRedundStateSwitched(240),     -- Event-Trap
                    nicHostMisconfigured(241),            -- Event-Trap
                    -- space left for growth
                    jpsHeapUsed(250),                    -- Performance-Trap
                    jpsCmtsAvgSyncTime(251),             -- Performance-Trap
                    jpsCmtsAvgDecTime(252),              -- Performance-Trap
                    jpsMsgHdlrProcTime(253),             -- Performance-Trap
                    jpsMsgFlowProcTime(254),             -- Performance-Trap
                    jpsMsgFlowDroppedMsgs(255),          -- Performance-Trap
                    jpsAmConnUp(260),                    -- Event-Trap
                    jpsAmConnDown(261),                  -- Event-Trap
                    jpsCmtsConnUp(262),                  -- Event-Trap
                    jpsCmtsConnDown(263),                -- Event-Trap 
                    -- space left for growth
                    acpHeapUsed(280),                    -- Performance-Trap   
                    acpSyncCompleted(290),               -- Event-Trap
                    acpRedundStateSwitched(291),         -- Event-Trap  
                    jdbReplicationFailure(292),          --Event-Trap   
    
                    -- C-Series platform traps
                    systemOperatingFailure(300),        -- Event-Trap
                    diskFailure(301),                    -- Event-Trap
                    diskUsage(302)                       -- Performance-Trap  
                   
                    }
                    
JuniSdxTrapSeverity ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The severity of the trap."
    SYNTAX  INTEGER { critical(1),
                      major(2),
                      minor(3),
                      warning(4),
                      information(5),
                      unknown(6) }

JuniSdxTrapAction ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The action of the trap."
    SYNTAX  INTEGER { clear(0),
                      raise(1) }

JuniSdxSaeOverloadAction ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The action to perform on an SAE Overload condition."
    SYNTAX INTEGER { saeNoAction(0),
                     saeFailOverAction(1) }

JuniSdxLDAPType ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The Type of LDAP database being used.
     oldap     : Open Ldap Directory Server
     dirx      : DIRX 500 Directory Server
     iPlanet   : Netscape iPlanet Directory Server
     other     : Directory Server as not listed above.
                 Agent will return 'other' if it is unable
                 to determine the directoryType at the request
                 time.    For instance this would occurr during
                 startup or shutdown of the agent."
    SYNTAX INTEGER { oldap(1),
                     dirx(2),
                     iPlanet(3),
                     other(4)}
JuniSdxJdbDirectoryMode ::= TEXTUAL-CONVENTION
    STATUS          current
    DESCRIPTION
      "The mode of this JDB server is running in:
       if it runs in community mode, then identify the JDB server
       by its role : primary  or secondary"
    SYNTAX INTEGER { unknown(0), -- unknown
                     standAlone(1), -- stand alone mode
                     secondary(2), -- consumer
                     primary(3)   -- consumer/supplier
                    }
                    
JuniSdxJdbNeighborRole ::= TEXTUAL-CONVENTION
    STATUS          current
    DESCRIPTION
      "The role of neighbor directory server is running in"
    SYNTAX INTEGER { primary(1),
                     secondary(2)
                    }
JuniSdxJdbReplicationDirection ::= TEXTUAL-CONVENTION
    STATUS           current
    DESCRIPTION
      "The direction of interaction between this JDB server and its neighbor"
    SYNTAX INTEGER { to(1),
                     from(2)
                    }

JuniSdxCompApplicationType ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The Application type of the component"
    SYNTAX INTEGER { java(1),
                     mgmtIf(2),
                     process(3),
                     python(4),
                     container(5),
                     other(6) }

JuniSdxOperStatus ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The type indicating object availability"
    SYNTAX INTEGER { disabled(0),
                     enabled(1),
                     suspended(2) }

JuniSdxAdminStatus ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "This type that allows you to start and stop individual components."
    SYNTAX INTEGER { disable(0),
                     enable(1),
                     none(2) }

JuniSdxSnmpTrapVersion ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The version of SNMP trap PDU to be sent"
    SYNTAX INTEGER { v1(1),
                     v2c(2) }

-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- SAE
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

JuniSdxCopsOverloadAction ::= TEXTUAL-CONVENTION
    STATUS      obsolete
    DESCRIPTION
    "This is the genereritc Overload action type used
     both if the ERX or SAE is resp. for overload.

     These are the possible actions that a COPS server can execute in
     response to either an SAE overload condition or an ERX overload condition:

     ignore(0)
     The COPS server will keep working normally despite the overload condition.
     An excessive amount of time may pass between a user event reported via
     COPS (e.g. a PPP interface coming up) and the COPS server's response
     (e.g. logging in the user).

     close(1) (Failover to next SAE)
     The COPS server will close its COPS connection and die. The ERX virtual
     router will attempt to establish a new COPS connection to an alternate
     SAE server. See juniSdxSaeUseFailOverIpPortDef and
     juniSdxSaeUseFailOverIpPortDef for details on how to control which
     alternate SAE server the ERX virtual router will contact.

     cleanQueue(2) (Temporarily ignore new users)
     The COPS server will discard some of the incoming COPS messages that
     report new PPP and DHCP users. These users will be ignored by SAE.
     The ignored PPP users will have connectivity to the ERX virtual router,
     but will not be logged into SAE (i.e. no default policies will applied
     to the PPP interface, and no activate-on-login services will be activated).
     The ignored DHCP users will receive neither a token nor a public
     IP address, and will not be logged in to SAE."
    SYNTAX  INTEGER { ignore(0),
                      close(1),
                      cleanQueue(2) }

JuniSaeRouterType ::= TEXTUAL-CONVENTION
    STATUS  current
    DESCRIPTION
        "The router driver type"
    SYNTAX INTEGER { junos(1),
                     junose(2),
                     packetCable(3),
                     proxy(4)
                   }
        


-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Workflow
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

JuniSdxWorkflowAdminStatus ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The desired operating status of the workflow"
    SYNTAX  INTEGER { pause(0),
                      resume(1) }

JuniSdxWorkflowOperatingStatus ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The current operating status of the workflow"
    SYNTAX  INTEGER { paused(0),
                      running(1) }


JuniSdxWorkflowAction  ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "An action to perform on the workflow engine."
    SYNTAX  INTEGER { reconfigureEngine(0),
                      reconfigureAdaptor(1),
                      reloadWorkflow(2) }

-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Directory Eventing System
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

JuniSdxDesDirectoryType ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The type of LDAP connection for DES this component."
    SYNTAX INTEGER {primary(1),
                    backup(2),
                    none(3)}

JuniSdxLicApplType::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The type of application license."
    SYNTAX INTEGER { none(0),
                     value(1)
                     }

JuniSdxLicApplId::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The ID of an application license."
    SYNTAX INTEGER { none(0),
                     sae(1),
                     spare1(2),
                     spare2(3),
                     spare3(4)
                     }
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- License Client
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

JuniSdxLicClientToServerStatus ::= TEXTUAL-CONVENTION
    STATUS      current
    DESCRIPTION
    "The last known status of the connection from the licensed element to its license server."
    SYNTAX INTEGER {
                    reachable(1),       
                    unreachable(2)
                    }

-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- NIC Host Text Convention
-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
JuniNicHostRedundStateType ::= TEXTUAL-CONVENTION
    STATUS  current
    DESCRIPTION
    "The redundancy state type of NIC Host"
    SYNTAX INTEGER { active(1),
                     passive(2) ,
                     noredundancy(3)
                   }
JuniNicAgentTypeType ::= TEXTUAL-CONVENTION
    STATUS  current
    DESCRIPTION
    "The type of NIC Agent type. "
    SYNTAX INTEGER { active(1),
                     passive(2)
                   }

JuniNicAgentDSConnStatusType ::= TEXTUAL-CONVENTION
    STATUS  current
    DESCRIPTION
    "The type of connection status to data source from NIC Agent."
    SYNTAX INTEGER { up(1),
                     down(2)
                   }
                    
END